<? global $cat1,$cat2, $lg; 
	echo $act;
?>
<!--start tittle product-->
<!--<span class="image-border"> <a class="image-wrap img-hover" href="<?=$FullUrl.'/'.$url_img?>" data-gal="prettyPhoto[gallery]" title="Name 1"> <img src="<?=GetPHPThumb($url_img, 147, 230);?>" alt="<?=$item["unique_key_".$lg];?>" title="<?=$item["unique_key_".$lg];?>"><span class="mask"></span></a></span>-->
<div class="container_24 primary_content_wrap clearfix">
  <div id="content" class="grid_24">
    <div class="header-title">
      <h1><?=$title_bar;?></h1>
    </div>
    <div id="gallery" class="four_columns">
      <ul class="portfolio">
      	 <? if($submenus){ ?>
                <?		
                    global $lg, $prefix_url, $FullUrl, $num_of_result;
                        $n = count($submenus);
                ?>
                <?
			for($i=0;$i<$n; $i++){
				$item = $submenus[$i];
				$link = $FullUrl . $prefix_url . $cat1["unique_key_$lg"] . "/" . $item["unique_key_$lg"] . "/";
				$name = $item['unique_key_'.$lg];
				
				$rs = $item['img'];
				
				$url_img = GetImage($rs);
				$w = 164;
				$h = 164;
				$sizes = fixSize($url_img , $w, $h);
				if(!empty($name) && $name != ''){								
		?>
        <li class="wrapper_pic"> 
        
        <span class="image-border"> <a href="<?=$link;?>"><img src="<?=GetPHPThumb($url_img, 164, 164);?>" alt="<?=$item["unique_key_".$lg];?>" title="<?=$item["unique_key_".$lg];?>" style="margin-top:<? echo ImageCenter($sizes['height'], $h)?>px;margin-left:<?=ImageCenterHorizontal($sizes['width'], 164)?>px"></a> </span>
          <div class="list-title">
            <h3><a href="<?=$link;?>"><?=$item['name_'.$lg]?$item['name_'.$lg]:NO_NEWS?></a></h3>
            <!--<p class="excerpt"><?=!empty($cat1["desc_".$_SESSION['lg']])?$cat1["desc_".$_SESSION['lg']]:''?></p>-->
          </div>
        </li>
         <?
	  	}}
	  ?>
                <? }else{
			print('<div class="updating">'.NO_NEWS.'</div>');
		} ?>        
      </ul>
      <div class="clear"></div>
    </div>
    <div class="wp-pagenavi"> <span class="pages">Page 1 of 2</span><span class="current">1</span><a href="http://livedemo00.template-help.com/wordpress_38638/staff/page/2/" class="page larger">2</a><a href="http://livedemo00.template-help.com/wordpress_38638/staff/page/2/" class="nextpostslink">»</a> </div>
    <!-- Page navigation --> 
    
  </div>
  <!-- #content --> 
  <!-- end #main --> 
</div>
<!--
<div class="cleared reset-box"></div>
<div class="art-box art-sheet">
<div class="art-box-body art-sheet-body">
  <div class="art-layout-wrapper">
    <div class="art-content-layout">
      <div class="art-content-layout-row">
        <div class="art-layout-cell art-content">
          <div class="art-box art-post">
            <div class="art-box-body art-post-body">
              <div class="art-post-inner art-article">
                <h2 class="art-postheader">
                  <?=$title_bar;?>
                </h2>
                <? if($submenus){ ?>
                <?		
                    global $lg, $prefix_url, $FullUrl, $num_of_result;
                        $n = count($submenus);
                ?>
                <?
			for($i=0;$i<$n; $i++){
				$item = $submenus[$i];
				$link = $FullUrl . $prefix_url . $cat1["unique_key_$lg"] . "/" . $item["unique_key_$lg"] . "/";
				$name = $item['unique_key_'.$lg];
				$url_img = GetImage($item["img"]);
				if(!empty($name) && $name != ''){								
		?>
                <div class="art-postcontent">
                  <div class="art-content-layout-wrapper layout-item-0">
                    <div class="art-content-layout layout-item-1">
                      <div class="art-content-layout-row">
                        <div class="art-layout-cell layout-item-2" style="width: 100%;">
                          <p><a href="<?=$link;?>"><img alt="<?=$item["unique_key_".$lg];?>" title="<?=$item["unique_key_".$lg];?>" src="<?=GetPHPThumb($url_img, 410, 410);?>" style="float: left;" /></a></p>
                          <h5><a href="<?php echo $link; ?>" title="<?=$item['name_'.$_SESSION['lg']];?>">
                            <?=$item['name_'.$lg]?$item['name_'.$lg]:NO_NEWS?>
                            </a></h5>
                          <h6><a href="<?=$link;?>">
                            <?=$item['comp']==2?number_format($item['num_of_result_products']):number_format($item['num_of_articles']);?>
                            <?=$item['comp']==2?PRODUCTS:NEWS;?>
                            </a></h6>
                          <h5>
                            <?=!empty($cat1["desc_".$_SESSION['lg']])?$cat1["desc_".$_SESSION['lg']]:''?>
                          </h5>
                          <h6>
                            <?=!empty($item['des_'.$lg])?$item['des_'.$lg]:NO_NEWS;?>
                          </h6>
                          <h6>
                            <?=$item['comp']==2?$item['total_product_views']?number_format($item['total_product_views']):0:($item['total_article_views']?number_format($item['total_article_views']):0);?>
                            <?=VIEW?>
                          </h6>
                          <br />
                          <p style="margin-left: 40px"><a href="<?=$link?>" class="art-button">Continue</a></p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <?
	  	}}
	  ?>
                <? }else{
			print('<div class="updating">'.NO_NEWS.'</div>');
		} ?>
                <div class="cleared"></div>
              </div>
              <div class="cleared"></div>
            </div>
          </div>
          <div class="cleared"></div>
        </div>
      </div>
    </div>
  </div>
  <div class="cleared"></div>
  <div class="cleared"></div>
</div>
-->